from tkinter import *
root = Tk()
root.title('图书管理系统')
root.geometry('450x300')

label_usname = Label(frame_usname,text='用户名：')
label_usname.pack(side=LEFT)
entry_usname = Entry(frame_usname,bd=5)
entry_usname.pack(side=RIGHT)
label_passwd = Label(frame_passwd,text='密   码：')
label_passwd.pack(side=LEFT)
entry_passwd = Entry(frame_passwd,bd=5,show='*')
entry_passwd.pack(side=RIGHT)
